<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Update Page</title>
    <link rel="stylesheet" type="text/css" href="../resource/css/Login.css"/>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<%
    String studentId = request.getParameter("studentId");
%>
<div style="position: center">
    <form action="/updateServlet" method="get">
        <div id="library">
            <table width="430">
                <tr>
                    <td>Student ID:</td>
                    <td align="center"><input type="text" name="studentId" readonly="readonly" value=<%=studentId%>>
                    </td>
                </tr>
                <tr>
                    <td>Name:</td>
                    <td align="center"><input type="text" name="name"></td>
                </tr>
                <tr>
                    <td>DateOfEnrollment:</td>
                    <td align="center"><input type="text" name="dateofenrollment"></td>
                </tr>
                <tr>
                    <td>Contact Number:</td>
                    <td align="center"><input type="text" name="contactNumber"></td>
                </tr>
                <tr>
                    <td>Student Status:</td>
                    <td align="center"><input type="text" name="studentStatus"></td>
                </tr>
                <tr>
                    <td>
                        <button class="btn" type="submit"><a>Submit</a></button>
                    </td>
                    <td align="center">
                        <button class="btn"><a href="Login.jsp">Back to Home</a></button>
                    </td>
                </tr>
            </table>
        </div>


    </form>

</div>
</body>
</html>
